<?php

namespace app\user\validate;

use think\Validate;

class FieldDataEdit extends Validate
{
    protected $rule = [
        //'field_id' => 'require',
        'title' => 'require',
        //'name' => 'require',
    ];

    protected $message = [
        'field_id.require' => '自定义字段分类不能为空',
        'title.require' => '自定义字段名称不能为空',
        'name.require' => '自定义字段标识不能为空',
    ];
}
